const baseUrl = 'http://172.27.2.30:9008'
const base = {
  queryCargoTypes: 'GET /api/v1/base/common/cargo/type',
  queryTimeUnits: 'GET /api/v1/base/common/time/unit',
  queryServiceTypes: 'GET /api/v1/base/common/service/type',
  queryAuthStatus: 'GET /api/v1/base/common/authStatus',
  queryRating: 'GET /api/v1/base/common/rating',
  queryGroupInfo: `GET /api/v1/base/common/group/info`,
  queryProductTags: `GET /api/v1/base/common/product/tags`,
  queryProductBrands: `GET /api/v1/base/common/product/brands`,
  // 基础数据选择服务
  queryGroup: 'GET /api/v1/areas/groups',
  queryAreasByCode: 'GET /api/v1/areas/search',
  queryCountries: `GET /api/v1/base/countries`,
  queryAreas: `GET /api/v1/base/areas`,
  queryCities: `GET /api/v1/base/cities`,
  queryPorts: `GET /api/v1/base/ports`,
  queryCurrencies: `GET /api/v1/base/currencies`,
  querySettleTypes: `GET /api/v1/biz/settypes`,
  queryWarehouseTypes: `GET /api/v1/dict/warehouse/type`,
  querySecondaryCities: 'GET /api/v1/base/secondCity',
  queryCountries: `POST ${baseUrl}/addressFacade/findAllCountry`, // 获取国家数据 MODIFIED BY XIONG
  queryCities: `POST ${baseUrl}/addressFacade/selectCity`, // 获取城市数据
  // 机场管理
  removeAirport: `DELETE /api/v1/biz/airport`,
  createAirport: `POST /api/v1/biz/airport`,
  checkAirportCode: `GET /api/v1/biz/airport/checkcode`,
  checkAirportICAO: `GET /api/v1/biz/airport/checkicao`,
  checkAirportName: `GET /api/v1/biz/airport/checkname`,
  checkAirportShortName: 'GET /api/v1/biz/airport/checkshortname',
  queryAirport: `GET /api/v1/biz/airport/searchlist`,
  queryAirportByID: `GET /api/v1/biz/airport/{id}`,
  queryAirportType: `GET /api/v1/dict/airport/type`,
  updateAirport: `PUT /api/v1/biz/airport/{id}`,
  // 航线管理
  removeAirlines: `DELETE /api/v1/biz/airlines`,
  queryAirlines: `GET /api/v1/biz/airlines`,
  createAirline: `POST /api/v1/biz/airlines`,
  checkAirlineCode: `GET /api/v1/biz/airlines/checkcode`,
  checkAirlineName: `GET /api/v1/biz/airlines/checkname`,
  queryAirlineByID: `GET /api/v1/biz/airlines/{id}`,
  updateAirline: `PUT /api/v1/biz/airlines/{id}`,
  queryAirlineType: `GET /api/v1/dict/airline/type`,
  // 航空公司管理
  removeCarrierCompanies: `DELETE /api/v1/biz/carrierCompany`,
  queryCarrierCompanies: `GET /api/v1/biz/carrierCompany`,
  createCarrierCompany: `POST /api/v1/biz/carrierCompany`,
  queryAlliances: `GET /api/v1/biz/carrierCompany/alliance`,
  checkCarrierCompanyCode: `GET /api/v1/biz/carrierCompany/checkcode`,
  queryCarrierCompanyInfo: `GET /api/v1/biz/carrierCompany/{id}`,
  updateCarrierCompany: `PUT /api/v1/biz/carrierCompany/{id}`,
  // 航班管理
  removeAirFlight: `DELETE /api/v1/biz/flights`,
  queryAirFlight: `GET /api/v1/biz/flights`,
  createAirFlight: `POST /api/v1/biz/flights`,
  checkAirFlightCode: `GET /api/v1/biz/flights/checkcode`,
  disableAirFlight: `PUT /api/v1/biz/flights/disabled`,
  openAirFlight: `PUT /api/v1/biz/flights/enable`,
  queryAirFlightById: `GET /api/v1/biz/flights/{id}`,
  updateAirFlight: `PUT /api/v1/biz/flights/{id}`,
  // 号码规则
  queryNumberRules: `GET /api/v1/biz/numberRule`,
  queryNumberRulesShort: `GET /api/v1/biz/numberRule/short`,
  queryNumberRuleByID: `GET /api/v1/biz/numberRule/{id}`,
  enableNumberRule: `POST /api/v1/biz/numberRule/enable`,
  disableNumberRule: `POST /api/v1/biz/numberRule/disable`,
  queryNumberRuleType: `GET /api/v1/base/common/number/type`,
  queryNumberVerifyRule: `GET /api/v1/base/common/number/verifyRule`,
  createNumberRule: `POST /api/v1/biz/numberRule`,
  updateNumberRule: `PUT /api/v1/biz/numberRule/{id}`,
  generateNumber: `POST /api/v1/biz/numberRule/generate`,
  generateLotsNumber: `POST /api/v1/biz/number/generateNumber`,
  checkNumberRuleName: `GET /api/v1/biz/numberRule/name`,

  // 号码库存
  queryNumberBatchs: `GET /api/v1/biz/numberBatch`,
  queryStartNumber: `GET /api/v1/biz/numberBatch/getCurrentNumberSeq/{id}`,
  createNumberBatch: `POST /api/v1/biz/numberBatch`,
  numberBatchCheckNumber: `POST /api/v1/biz/numberBatch/checkNumber`,
  importNumber: `POST /api/v1/biz/numberBatch/importNumber`,
  queryNumberBatchByID: `GET /api/v1/biz/numberBatch/{id}`,
  configGenRule: `PUT /api/v1/biz/numberRule/generateRule/{id}`,

  // 号码监管
  queryfAuditNumbers: `GET /api/v1/biz/number`,

  // 汇率管理
  queryMoney: 'GET /api/v1/base/currencies',
  queryExchangeList: 'GET /api/v1/biz/exchangerate/exchangeratelist',
  createExchange: 'POST /api/v1/biz/exchangerate',
  queryLatestExchangeList: 'GET /api/v1/biz/exchangerate/latestexchangeratelist',
  costTypeFather: 'GET /api/v1/biz/feetypes/father',
  costTypeChild: 'GET /api/v1/biz/feetypes/children/{parentCode}',
  saveCostType: 'POST /api/v1/biz/feetypes',
  deleteCostType: 'POST /api/v1/biz/feetypes/deletions',
  updateCostType: 'PUT /api/v1/biz/feetypes/{id}',
  cargoFatherType: 'GET /api/v1/biz/cargo/father',
  cargoChildType: 'GET /api/v1/biz/cargo/children',
  saveCargoType: 'POST /api/v1/biz/cargo',
  deleteCargoType: 'PUT /api/v1/biz/cargo/deletions',
  updateCargoType: 'PUT /api/v1/biz/cargo/{id}',
  // 获取认证状态
  queryIdentityStatus: 'GET /api/v1/hui/customer/identity/status',
  // 获取资源类型
  queryResourceType: 'GET /api/v1/hui/customer/resource/type',
  // 供应商管理
  serviceType: `GET /api/v1/base/common/service/type`,
  // 中台航班管理
  queryFlight: `GET /api/v1/zhongtai/flight/detail`,
  exportFlight: `GET /api/v1/zhongtai/flight/detail/export`,
  queryFlightStatus: `GET /api/v1/zhongtai/flight/detail/status`,
  queryDateFlight: `GET /api/v1/zhongtai/flight`,
  exportDateFlight: `GET /api/v1/zhongtai/flight/export`,
  queryDateFlightType: `GET /api/v1/zhongtai/flight/type`,
  // 获取订单的所有支付状态数据
  paymentStatus: 'GET /api/v1/order/status/pay',
  // 007-签到规则状态
  signRuleStatus: `GET /api/v1/sign/rule/status`,
  //会员等级信息
  queryMemberLevel: 'GET /api/v1/customer/level/array',
};

export default base;
